package rt.crashmere.apiinterface.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Lwh
 * @time 2023/01/24 19:40
 */
@Component
@FeignClient("api-server")
public interface UserFeignService {

    @GetMapping("/user/secret")
    String getSecretKey(@RequestParam("accessKey") String accessKey);

}
